Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Answers for jQuery Online Test - Online Exam - Online Quiz - Mock Test

←Go Back to Online Practice Test

Ques. Which jQuery method is used to switch between adding/removing one or more classes (for CSS) from selected elements?
Option 1. switchClass()
Option 2. addRemoveClass()
Option 3. altClass()
Option 4. toggleClass()

Ans. Option 4

Please provide the reason below. The best provided reason will be displayed with your name(if you are logged-in) on website.
Enter Reason
 
Is it helpful? Yes No
©2024 WithoutBook